<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>AdminLTE 2 | Starter</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
 <include file="Public:head" />

<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
 <header class="main-header">

    <!-- Logo -->
    <a href="index2.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini">约健</span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><h4 style=" margin-top:15px;">约健俱乐部管理系统</h4></span>
    </a>

    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">4</span>
            </a>
          </li>
          <!-- /.messages-menu -->

          <!-- Notifications Menu -->
          <li class="dropdown notifications-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">10</span>
            </a>
          </li>
          <!-- Tasks Menu email -->
          <li class="dropdown tasks-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-flag-o"></i>
              <span class="label label-danger">9</span>
            </a>
          </li>
          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <!-- The user image in the navbar-->
              <img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
              <span class="hidden-xs">Alexander Pierce</span>
            </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

                <p>
                  Alexander Pierce - Web Developer
                  <small>Member since Nov. 2012</small>
                </p>
              </li>
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">Profile</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">Sign out</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>

<!--end of top-->
<include file="Public:sider" />

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        大师信息管理
        <small>列表页</small>
      </h1>
    </section>

    <!-- Main content -->
    <section class="content container-fluid">

     
<table class="table table-striped">
<tr>
        <td>大师编号</td>
        <td>大师姓名</td>
        <td>年纪</td>
        <td>家庭住址</td>
        <td>出生日期</td>
        <td>大师简介</td>
        <td>大师电话</td>
        <td>大师图片</td>
        <td></td>

         </tr>
         <volist name="masterlist" id="vo">
         
                                <tr>
                                    <td>{$vo.mid}</td>
                                    <td>{$vo.mname}</td>
                                    <td>{$vo.mage}</td>
                                    <td>{$vo.maddress}</td>
                                    <td>{$vo.mbirth}</td>
                                    <td>{$vo.minfo}</td>
                                    <td>{$vo.mphonenum}</td>
                                  
                                    <td><img src="__PUBLIC__/Uploads/picture/{$vo.mpic}" width="60" ></td>
                                  
                                    <td>
                                    <div class="dropdown">
    <button type="button" class="btn dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown">操作
        <span class="caret"></span>
    </button>
    <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
        <li role="presentation">
            <a role="menuitem" tabindex="-1" href="__URL__/delmaster/mid/{$vo.mid}" onClick="return confirm('确定要删除此记录吗？');">删除</a>
        </li>
        <li role="presentation">
            <a role="menuitem" tabindex="-1" href="__URL__/masterdetail/mid/{$vo.mid}" >查看详情</a>
        </li>
        <li role="presentation">
            <a role="menuitem" tabindex="-1" href="__URL__/addmaster/">添加</a>
        </li>
        <li role="presentation">
            <a role="menuitem" tabindex="-1" href="__URL__/editmaster/mid/{$vo.mid}">修改</a>
        </li>
      
    </ul>
</div>
                                       <!--  <a href="__URL__/delpicture/pid/{$vo.pid}" onClick="return confirm('确定要删除此记录吗？');">删除</a>|<a data-toggle="modal" data-target="#myModal">查看详细</a> -->
                                    </td>
                                </tr>
        </volist>
</table> 

    </section>
    <!-- /.content -->
  </div>
     


</body>
</html>
